package com.briup.bms.service;

import com.briup.bms.bean.SCustomer;
import com.briup.bms.bean.SProduct;
import com.github.pagehelper.PageInfo;

import java.util.Set;

/**
 * @author: Paocha
 * @date: 2021-11-23-15:50
 */
public interface SProductService {
    PageInfo<SProduct> findByConditon(int pageNum, int pageSize, String name);

    PageInfo<SProduct> findByPageHelper(int pageNum, int pageSize);

    void saveOrUpdate(SProduct product);

    void deleteCustomer(Integer productId);

    void batchDeleteCustomer(Set<Integer> productIds);
}
